package org.hefan.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hefan.basic.domain.BaseDomain;

import java.util.Date;

/**
 * shop店铺表实体类
 */
@Data
public class Shop extends BaseDomain {
    private String name;
    private String tel;
    @JsonFormat(pattern ="yyyy-MM-dd", timezone ="GMT+8")
    private Date registerTime = new Date(); // 入驻时间
    private Integer state = 0; // 状态：1-审核通过 0-待审核【默认】 -1-驳回/审核失败 2-待激活
    private String address;
    private String logo;

    private Long admin_id;
    private Employee admin; // 管理员
}
